<div class="head">
	<h2><?php echo __('Email address', true).': '.@$contact_title; ?></h2>
</div>
<div class="form">
	<?php
		echo $form->create('Email', array('action'=>'edit'));
		echo $form->input('id');
		echo $form->input('contact_id', array('type'=>'hidden'));
		echo $form->input('referer', array('type'=>'hidden'));
		echo $form->input('kind', array('type'=>'select', 'label'=>__('Kind', true).':', 'options'=>$GLOBALS['email_types']));
		echo $form->input('email', array('label'=>__('Email', true).':'));
		echo $form->input('primary', array('label'=>__('This is a primary email address', true)));
		echo $form->submit(__('OK', true));
		echo $form->end();
	?>
</div>